<!DOCTYPE html>
<html>
<head>
<div th:include="base-libs :: base-libs" />
<title>团队日志</title>

<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=UTF-8">

<style>
	.changetr{
		background: #72B7CE!important;
		color: white!important;
	}
</style>

<script>
    var tdManagerData = StoreCache.removeCache("tdManagerData");
	$(function(){
    	initView();
    })
    	
    function initView() {
		$("#tdglTable").datagrid({
				idField : "TDID",
				uniqueId: "TDID",
				striped : true,
				clickToSelect: true,
				fit:true,
				fitColumns:true,
				singleSelect:true,
				columns : [[
						{field : "JLSJ",title : "操作时间",width:100,align:'center',formatter:function(value,row,index){
							return value.substring(0,19);
						}},
						{field : "CZR",title : "操作人员",width:60,align:'center'},
						{field : "CZDX",title : "操作对象",width:60,align:'center'},
						{field : "CZGYSM",title : "动作",width:100}
				]],
				pagination : true,
				pageNumber : 1,
				pageList: [10, 20, 50, 100, 200],
				method : "post",
				url : contextRoot + "tdgl/queryLogsByPage.service",
				onBeforeLoad : function(params) {
					params["TDID"] = tdManagerData.TDID;
					return params;
				},
				onClickRow : function(index,row){
					$("#tdglTable").data("tdInfo", row);
				},
				queryParamsType : ""
			});
	}
    	
    	
   	
   
</script>

</head>

<body class="easyui-layout" border="false">
	<div region="center" border="false">
		<table id="tdglTable" border="false"></table>
	</div>
</body>
</html>
